const state = {
  menuList: [
    {
      id: 1,
      authName: '用户管理',
      icon: 'iconfont icon-user',
      path: 'null',
      children: [
        {
          id: 11,
          authName: '学生列表',
          path: '/user/studentList'
        },
        {
          id: 12,
          authName: '管理员列表',
          path: '/user/adminList'
        }
      ]
    },
    {
      id: 2,
      authName: '章节管理',
      icon: 'iconfont icon-tijikongjian',
      path: 'null',
      children: [
        {
          id: 21,
          authName: '章节列表',
          path: '/chapter'
        }
      ]
    },
    {
      id: 3,
      authName: '视频管理',
      icon: 'iconfont icon-tijikongjian',
      path: 'null',
      children: [
        {
          id: 31,
          authName: '视频列表',
          path: '/video/list'
        },
        {
          id: 32,
          authName: '视频上传',
          path: '/video/edit'
        }
      ]
    },
    {
      id: 4,
      authName: '文件管理',
      icon: 'iconfont icon-tijikongjian',
      path: 'null',
      children: [
        {
          id: 41,
          authName: '文件列表',
          path: '/office/list'
        },
        {
          id: 42,
          authName: '文件上传',
          path: '/office/edit'
        }
      ]
    },
    {
      id: 5,
      authName: '学习记录',
      icon: 'iconfont icon-tijikongjian',
      path: 'null',
      children: [
        {
          id: 51,
          authName: '学习记录',
          path: '/learningRecordes/list'
        }
      ]
    },
    {
      id: 6,
      authName: '题库管理',
      icon: 'iconfont icon-tijikongjian',
      path: 'null',
      children: [
        {
          id: 61,
          authName: '题库列表',
          path: '/question/list'
        },
        {
          id: 62,
          authName: '单选题创编',
          path: '/question/single-choice'
        },
        {
          id: 63,
          authName: '多选题创编',
          path: '/question/multiple-choice'
        },
        {
          id: 64,
          authName: '判断题创编',
          path: '/question/true-false'
        }
      ]
    },
    {
      id: 7,
      authName: '卷库管理',
      icon: 'iconfont icon-tijikongjian',
      path: 'null',
      children: [
        {
          id: 71,
          authName: '卷库列表',
          path: '/exam/list'
        },
        {
          id: 72,
          authName: '卷库创编',
          path: '/exam/edit'
        }
      ]
    },
    {
      id: 8,
      authName: '答卷查阅',
      icon: 'iconfont icon-tijikongjian',
      path: 'null',
      children: [
        {
          id: 81,
          authName: '答卷列表',
          path: '/examAnswer/list'
        }
      ]
    }
  ]
}

// getters
const getters = {}

// actions
const actions = {}

// mutations
const mutations = {}

export default {
  namespaced: true,
  state,
  getters,
  actions,
  mutations
}
